<?php
require_once($framework."/debug.php");
class EntityNotFoundException extends Exception{
	private $_message;
	public function __construct($msg) {
		parent :: __construct($msg);		
	}
	public function EntityNotFoundException($msg){
		$_message = 'An Entity exception raised:<br/>';
		$_message .= '<strong>Message : ' . $this->getMessage() . '</strong><br/>';
		$_message .= 'on line : ' . $this->getLine() . '<br/>';
		$_message .= 'in file : ' . $this->getFile() . '<br/>';
		$_message .= 'at : ' . $this->getTime();
		__warn("Exception: ".$this->$_message);
	}

	public function getTime() {
		return date('Y/m/d H:i:s');
	}

	public function getError() {
		$return = $_message;
		return $return;
	}
}
?>